ESRI.ArcGIS.ADF.Core
Impersonate(String) Method
See Also  Send comments on this topic.
ESRI.ArcGIS.ADF Namespace > Impersonation Class > Impersonate Method : Impersonate(String) Method




identity
This parameter should be the return value of function Identity.ToString() of a previously instantiated Identity object.
Used to dynamically modify the current windows user with the specified user

Syntax

Visual Basic (Declaration) 
Public Overloads Function Impersonate( _
   ByVal identity As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Impersonation
Dim identity As String
Dim value As Boolean
 
value = instance.Impersonate(identity)
C# 
public bool Impersonate( 
   string identity
)

Parameters

identity
This parameter should be the return value of function Identity.ToString() of a previously instantiated Identity object.

Return Value

True if success, false if failed

See Also

© 2010 All Rights Reserved.