Click or drag to resize

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
)

Parameters

source
Type: System.Security.PrincipalIIdentity

[Missing <param name="source"/> documentation for "M:SanteDB.Core.ExtensionMethods.GetUserId(System.Security.Principal.IIdentity)"]

Return Value

Type: String
Returns a string which represents the users identifier, or null if unable to retrieve the users identifier.
See Also