SecurityProperty.CreateUserPrincipalNameProperty Method (String)
Creates an instance of the SecurityProperty class which represent AD FS UPN Name Claims.
Namespace: System.Web.Security.SingleSignOn.Authorization
Assembly: System.Web.Security.SingleSignOn.ClaimTransforms (in System.Web.Security.SingleSignOn.ClaimTransforms.dll)
Syntax
public static SecurityProperty CreateUserPrincipalNameProperty(
string userPrincipalName
)
public:
static SecurityProperty^ CreateUserPrincipalNameProperty(
String^ userPrincipalName
)
static member CreateUserPrincipalNameProperty :
userPrincipalName:string -> SecurityProperty
Public Shared Function CreateUserPrincipalNameProperty (
userPrincipalName As String
) As SecurityProperty
Parameters
userPrincipalName
Type: System.StringThe user principal name for the new claim.
Return Value
Type: System.Web.Security.SingleSignOn.Authorization.SecurityProperty
A new instance of the SecurityProperty class.
See Also
SecurityProperty Class
System.Web.Security.SingleSignOn.Authorization Namespace
Return to top