ContentStudioPrincipalIsInRole Method (WindowsBuiltInRole) Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Determines whether the current principal belongs to a specified Windows user group..

Namespace: ContentStudio.Security
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public bool IsInRole(
	WindowsBuiltInRole role
)

Parameters

role
Type: System.Security.PrincipalWindowsBuiltInRole
The role.

Return Value

Type: Boolean
true if the current principal is a member of the specified Windows user group; otherwise false.
See Also

Reference