Get the specified
SourceCode.Authorization.Interfaces.IAuthorizationIdentity instance.
Syntax
Visual Basic (Declaration) | |
---|
Public Function GetIdentity( _
ByVal name As String, _
ByVal type As SourceCode.Authorization.Interfaces.IdentityType _
) As SourceCode.Authorization.Interfaces.IAuthorizationIdentity
|
Visual Basic (Usage) | Copy Code |
---|
Dim instance As AuthorizationClient
Dim name As String
Dim type As SourceCode.Authorization.Interfaces.IdentityType
Dim value As SourceCode.Authorization.Interfaces.IAuthorizationIdentity
value = instance.GetIdentity(name, type)
|
C# | |
---|
public SourceCode.Authorization.Interfaces.IAuthorizationIdentity GetIdentity(
string name,
SourceCode.Authorization.Interfaces.IdentityType type
)
|
C++/CLI | |
---|
public:
SourceCode.Authorization.Interfaces.IAuthorizationIdentity^ GetIdentity(
String^ name,
SourceCode.Authorization.Interfaces.IdentityType type
)
|
Parameters
- name
- The Name (FQN) of the identity.
- type
- The SourceCode.Authorization.Interfaces.IdentityType of the identity.
Return Value
The specified
SourceCode.Authorization.Interfaces.IAuthorizationIdentity; otherwise returns a
null
if the identity could not be found.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also