메소드 | 설명 | |
---|---|---|
AdministratorSyncanoClient ( ISyncanoClient syncanoClient ) : System |
Creates AdministratorSyncanoClient object.
|
|
Delete ( string adminId = null, string adminEmail = null ) : Task |
Deletes specified administrator from current instance. Only administrators whose role is defined as "Admin" or "Owner" can edit their instance's administrators.
|
|
Get ( ) : Task
|
Get the all administrators of the current instance.
|
|
GetOne ( string adminId = null, string adminEmail = null ) : Task |
Gets admin info with specific id or email from the current instance.
|
|
GetRoles ( ) : Task
|
Lists all permission roles of current instance.
|
|
New ( string adminEmail, string roleId, string message ) : Task |
Adds a new administrator to current instance (sends an invitation). Only Admin permission role can add new administrators.
|
|
Update ( string roleId, string adminId = null, string adminEmail = null ) : Task |
Updates specified admin's permission role. Only administrators whose role is defined as "Admin" or "Owner" can edit their instance's administrators.
|
public AdministratorSyncanoClient ( ISyncanoClient syncanoClient ) : System | ||
syncanoClient | ISyncanoClient | Object implementing ISyncanoClient interface. Provides means for connecting to Syncano. |
리턴 | System |
public Delete ( string adminId = null, string adminEmail = null ) : Task |
||
adminId | string | Admin id defining admin to delete. |
adminEmail | string | Admin email defining admin to delete. |
리턴 | Task |
public GetOne ( string adminId = null, string adminEmail = null ) : Task |
||
adminId | string | Admin id. |
adminEmail | string | Admin email. |
리턴 | Task |
public New ( string adminEmail, string roleId, string message ) : Task |
||
adminEmail | string | Email of administrator to add. |
roleId | string | Initial role for current instance (see role.get()). |
message | string | Message that will be sent along with invitation to instance. |
리턴 | Task |
public Update ( string roleId, string adminId = null, string adminEmail = null ) : Task |
||
roleId | string | New admin's instance role id to set (see role.get()). |
adminId | string | The admin id to update. |
adminEmail | string | The admin email to update. |
리턴 | Task |