user.Properties with String Value

cjwallace

Member
Joined
May 5, 2007
Messages
13
Programming Experience
Beginner
Guys, i have the following Dim'ed in my script with relates back to text box's

VB.NET:
Dim strDisplay As String
Dim strCN As String
Dim strLastName As String
Dim strFirstName As String
Dim strUserName As String
 
strUserName = TextBoxUserName.Text
strFirstName = TextBoxFirstName.Text
strLastName = TextBoxLastName.Text
 
strDisplay = strLastName & ", " & strFirstName
strCN = strLastName & "\, " & strFirstName

The issue i have is the original code i used was

VB.NET:
user.Properties("givenName").Value = "Craig Wallace"

But i am trying to use the value from strFirstName , i thought the line below would work but it does not like it.

user.Properties("givenName", strFirstName)

What shoud i be using to get the value strFirstName

Thanks in advance
 
Last edited by a moderator:
Back
Top