[This is preliminary documentation and is subject to change.]
Grants account ownership or admin privilege on a particular account
to a particular user.
Namespace:
OfficeClip.DBLayer.AccountAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public int GrantAccountAdminPrivilege( int accountId, int userId ) |
Visual Basic (Declaration) |
---|
Public Function GrantAccountAdminPrivilege ( _ accountId As Integer, _ userId As Integer _ ) As Integer |
Visual C++ |
---|
public: int GrantAccountAdminPrivilege( int accountId, int userId ) |
Parameters
- accountId
- Type: System..::.Int32
id corresponding to a particular account
- userId
- Type: System..::.Int32
id of one of the users in that account who has to be granted ownership or admin privileges.