Identity of a user connecting to a GIS data source.
Syntax
Visual Basic (Declaration) | |
---|
Property Identity As String |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As IGISDataSource
Dim value As String
instance.Identity = value
value = instance.Identity |
C# | |
---|
string Identity {get; set;} |
Property Value
Identity details as a String.
Example
The Web ADF included a few classes to generate a semi-secure string to store identity information. The following code shows how to generate a Base64 encoded string to keep the identity details from being stored in clear text.
C# | Copy Code |
---|
string username = "user";
string password = "pass";
string domain = "mydomain";
ESRI.ArcGIS.ADF.Identity id = new ESRI.ArcGIS.ADF.Identity(username, password, domain);
string encrypted_id = ESRI.ArcGIS.ADF.Converter.FromIdentity(id); |
Remarks
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also