Visual Basic (Declaration) | |
---|---|
Public Username As String |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Security Dim value As String value = instance.Username instance.Username = value |
C# | |
---|---|
public string Username |
Managed Extensions for C++ | |
---|---|
public: string* Username |
C++/CLI | |
---|---|
public: String^ Username |
Property Value
The Username to be used in requests.If a message to be sent is a Version 3 message, then Username must to set to a value known to the agent you are sending the request to. Otherwise a SecurityException will be thrown when the message is encoded for delivery over the network.
Target Platforms: Microsoft .NET Framework 2.0