Class WolfGroupMember
Member of a group.
Namespace: TehGM.Wolfringo
Assembly: Wolfringo.Core.dll
Syntax
public class WolfGroupMember
Constructors
| Improve this Doc View SourceWolfGroupMember()
Creates a new instance of WOLF group member object.
Declaration
[JsonConstructor]
protected WolfGroupMember()
WolfGroupMember(UInt32, WolfGroupCapabilities)
Creates a new instance of WOLF group member object.
Declaration
public WolfGroupMember(uint userID, WolfGroupCapabilities capabilities)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | userID | ID of the user. |
WolfGroupCapabilities | capabilities | User's group permissions. |
Properties
| Improve this Doc View SourceCapabilities
User's permissions.
Declaration
[JsonProperty("capabilities")]
public WolfGroupCapabilities Capabilities { get; }
Property Value
Type | Description |
---|---|
WolfGroupCapabilities |
HasAdminPrivileges
Does the member have admin or greater privileges?
Declaration
public bool HasAdminPrivileges { get; }
Property Value
Type | Description |
---|---|
Boolean |
HasModPrivileges
Does the member have mod or greater privileges?
Declaration
public bool HasModPrivileges { get; }
Property Value
Type | Description |
---|---|
Boolean |
HasOwnerPrivileges
Does the member have owner privileges?
Declaration
public bool HasOwnerPrivileges { get; }
Property Value
Type | Description |
---|---|
Boolean |
UserID
User ID.
Declaration
[JsonProperty("id")]
public uint UserID { get; }
Property Value
Type | Description |
---|---|
UInt32 |