Share via


SingleSignOnRoleProvider.RoleExists Method (String)

 

Verifies that a group organization claim, with the specified role name, exists. This method is invoked at Windows SharePoint Services configuration time.

Namespace:   System.Web.Security.SingleSignOn
Assembly:  System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)

Syntax

public override bool RoleExists(
    string roleName
)
public:
virtual bool RoleExists(
    String^ roleName
) override
override RoleExists : 
        roleName:string -> bool
Public Overrides Function RoleExists (
    roleName As String
) As Boolean

Parameters

  • roleName
    Type: System.String

    An organization group claim role name.

Return Value

Type: System.Boolean

If an organization group claim of value roleName is found in the FS trust policy, it returns true. If there is a windows group called roleName it returns true.

Remarks

The provider will not verify that the group claim roleName is enabled for this application.

See Also

SingleSignOnRoleProvider Class
System.Web.Security.SingleSignOn Namespace

Return to top