Share via


UserPolicy.AccessCheck method

Returns a value that indicates whether the current user has the specified right.

Syntax

public:
bool AccessCheck(
  String^ right
)

Parameters

right

Type: String^

The right to check.

Return value

Type: Boolean

True if the current user has the right; otherwise false.

Note

When called on behalf of the content owner, returns True for any right that is specified.

Requirements

Minimum supported client
None supported
Minimum supported server
None supported
Minimum supported phone
Windows Phone 8.1
Namespace
Microsoft::Protection
Metadata
Microsoft.RightsManagement.winmd

See also

UserPolicy