[This is preliminary documentation and is subject to change.]

Grants access to a particular group to a resource.

Namespace:  OfficeClip.DBLayer.Desktop
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public int GrantResourceAccess(
	int groupId,
	int resourceId
)
Visual Basic (Declaration)
Public Function GrantResourceAccess ( _
	groupId As Integer, _
	resourceId As Integer _
) As Integer
Visual C++
public:
int GrantResourceAccess(
	int groupId, 
	int resourceId
)

Parameters

groupId
Type: System..::.Int32
Id of the group for which access to the resource is being granted.
resourceId
Type: System..::.Int32
Id of the resource to which the access is being granted.

Return Value

0 when successful, -1 in case of an error.

See Also