A Role definition for privileges assignment.
Initializes a new instance of Role.
public Void Role(name, description)
Name | Type | Summary |
---|---|---|
name | String | Role name. |
description | String | Role description. |
Type | Summary |
---|---|
ArgumentNullOrEmptyException | Thrown when name is null or empty. |
Role description.
public String Description { get; set; }
Role name.
public String Name { get; set; }
Checks whether this Role is equal to other.
public Boolean Equals(other)
Name | Type | Summary |
---|---|---|
other | Role |
Checks whether this Role is equal to obj.
public Boolean Equals(obj)
Name | Type | Summary |
---|---|---|
obj | Object |
Returns a hash for this object.
public Int32 GetHashCode()
Returns a textual representation of the Role.
public String ToString()
In this document