Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!
Namespace User Public Class User Public CID As String = "" Public UserID As String = "" Public UserName As String = "" Public UserFirstName As String = "" Public UserSurname As String = "" Public Sub GetUser(ByVal UID As String) (code here would go to the DB and get the user based in the supplied UID) CID = "123456" UserID = "567890" UserName = "fbloggs" UserFirstName = "Fred" UserSurname = "Bloggs" End Sub End Class End Namespace
Dim UserData As New User.User Session("Test") = UserData.GetUser(UN)
Dim UserData As New User.User dim UserTest as Object UserTest = UserData.GetUser(UN) Session("Test") = UserTest
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.