[This is preliminary documentation and is subject to change.]
Sets the Auto approve option on a Target User for a particular user
Namespace:
OfficeClip.DBLayer.FrameworkAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public void SetAutoApprovalForUser( int targetUserId, int currentUserId, int groupId, int appId, bool isAutoApprove ) |
Visual Basic (Declaration) |
---|
Public Sub SetAutoApprovalForUser ( _ targetUserId As Integer, _ currentUserId As Integer, _ groupId As Integer, _ appId As Integer, _ isAutoApprove As Boolean _ ) |
Visual C++ |
---|
public: void SetAutoApprovalForUser( int targetUserId, int currentUserId, int groupId, int appId, bool isAutoApprove ) |
Parameters
- targetUserId
- Type: System..::.Int32
the target userid or the userid of the person who has to approve
- currentUserId
- Type: System..::.Int32
the userid of the user
- groupId
- Type: System..::.Int32
the groupid
- appId
- Type: System..::.Int32
the application Id
- isAutoApprove
- Type: System..::.Boolean
boolean value specifying autoapprove is enabled or not