WindowsClaimsIdentity.CreatePrimarySidClaim Method
Creates a Windows SID Claim from the given WindowsClaimsIdentity.
Namespace: Microsoft.IdentityModel.Claims
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
Verwendung
Dim returnValue As Claim returnValue = Me.CreatePrimarySidClaim
Syntax
'Declaration
Protected Function CreatePrimarySidClaim As Claim
protected Claim CreatePrimarySidClaim ()
protected:
Claim^ CreatePrimarySidClaim ()
protected Claim CreatePrimarySidClaim ()
protected function CreatePrimarySidClaim () : Claim
Rückgabewert
Windows SID Claim. Can be null.
Ausnahmen
Ausnahmetyp | Bedingung |
---|
Threadsicherheit
Beliebige öffentliche, statische (Freigegebene in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.
Plattformen
Entwicklungsplattformen
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
Siehe auch
Referenz
WindowsClaimsIdentity Class
WindowsClaimsIdentity Members
Microsoft.IdentityModel.Claims Namespace