| ExtensionMethodsGetUserId Method (IIdentity) |
Gets the user identifier for a given identity.
Namespace:
SanteDB.Core
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax public static string GetUserId(
IIdentity source
)
Public Shared Function GetUserId (
source As IIdentity
) As String
public:
static String^ GetUserId(
IIdentity^ source
)
static member GetUserId :
source : IIdentity -> string
Parameters
- source
- Type: System.Security.PrincipalIIdentity
[Missing <param name="source"/> documentation for "M:SanteDB.Core.ExtensionMethods.GetUserId(System.Security.Principal.IIdentity)"]
Return Value
Type:
StringReturns a string which represents the users identifier, or null if unable to retrieve the users identifier.
See Also