Click or drag to resize

AccountInfoHasRight Method

This is preliminary documentation and is subject to change.

Determines whether the user has certain right.

Namespace: WikiClientLibrary.Sites
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public bool HasRight(
	string rightName
)

Parameters

rightName  String
The name of the right.

Return Value

Boolean
Remarks

It's recommended to use this method instead of checking Rights manually.

Refer to UserRights for a list of commonly-used built-in user rights.

See Also