 | ExtensionMethodsGetUserId(IIdentity) Method |
Gets the user identifier for a given identity.
Namespace: SanteDB.CoreAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntaxpublic 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 IIdentity
[Missing <param name="source"/> documentation for "M:SanteDB.Core.ExtensionMethods.GetUserId(System.Security.Principal.IIdentity)"]
Return Value
StringReturns a string which represents the users identifier, or null if unable to retrieve the users identifier.
See Also