Export (0) Print
Expand All

SecurityPropertyCollection.IsInRole Method

Allows a user to test if a security principal is a member of a particular group.

Namespace: System.Web.Security.SingleSignOn.Authorization
Assembly: System.Web.Security.SingleSignOn.ClaimTransforms (in system.web.security.singlesignon.claimtransforms.dll)



The role string to search for in Value.

Return Value

true if the SecurityPropertyCollection contains a SecurityProperty instance, representing an AD FS Group claim with value equal to the given "role". False otherwise.

Development Platforms

Target Platforms

Windows Server 2008, Windows Server 2003, Windows Vista, Windows Server 2003 R2, Windows XP
Footer image

Send comments about this topic to Microsoft.

Community Additions

© 2015 Microsoft