ArcFM Solution Developer Guide
UserName Property (IMMLoginObject)


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

This property should return the user name used to login to the system database which the user is currently logged into. If the custom login that uses Windows authenticated connections, this property must be set to the true user name. The "true" user name is the Windows login user name without any domain attached.
Syntax
'Declaration
 
<DispIdAttribute(1610678275)>
ReadOnly Property UserName As String
'Usage
 
Dim instance As IMMLoginObject
Dim value As String
 
value = instance.UserName
[DispId(1610678275)]
string UserName {get;}

Property Value

Returns the user name used to access the system database as a string value.

Example
The following code sample demonstrates how the IMMLoginObject::UserName property may be implemented.
Visual Basic Copy Code
Private Property Get IMMLoginObject_UserName() As String
   IMMLoginObject_UserName = m_pDefaultLogin.UserName
End Property
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

IMMLoginObject Interface
IMMLoginObject Members

 

 


Send Comment