DMResourcePermissionCollectionGetResourcePermission Method

Alterian Email Manager 6.2.3 SDK Help File
Gets a DMResourcePermission object based on the ResourceID specified. If the DMResourcePermission specified does not exist within the collection, a new one is created with an empty DMPermissionCollection collection, added to the present collection, and returned as a DMPermission object.

Namespace:  DMLibrary
Assembly:  DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420

Syntax
public DMResourcePermission GetResourcePermission(
	int ResourceID
)

Parameters

ResourceID
Type: SystemInt32
The ID of the DMResourcePermission object being sought.

Return Value

Type: DMResourcePermission
A DMResourcePermission object.
See Also