IAdgObject interface.GrantAuthority Method
Definition
Namespace: ASNA.DataGate.Client
Assembly: ASNA.QSys.DataGate.Client.dll
Grants authority to a user or group for the ADG object.
void GrantAuthority(string user, AuthorityTypes authority)
Grants authority to a user or group for the ADG object.
Remarks
This method is used to grant a specific authority to a user or group for the ADG object. The user parameter specifies the user or group to grant the authority to. The authority parameter specifies the authority to grant, which can be read, write, execute, or other types of authority.
void GrantAuthority(string user, AuthorityTypes authority)
Parameters
| Type | Parameter name | Description |
|---|---|---|
| String | user | The user or group to grant authority to. |
| AuthorityTypes | authority | The authority type to grant. |