IPrincipal.IsInRole Method
Silverlight
Determines whether the current principal belongs to the specified role.
Namespace: System.Security.Principal
Assembly: mscorlib (in mscorlib.dll)
Parameters
- role
- Type: System.String
The name of the role for which to check membership.
Return Value
Type: System.Booleantrue if the current principal is a member of the specified role; otherwise, false.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Community Additions
ADD
Show: