DMPermissionCollectionGetPermission Method

Alterian Email Manager 6.2.3 SDK Help File
Gets a DMPermission object based on the PermissionTypeID specified. If the DMPermission specified does not exist within the collection, a new one is created with its flag set to DMPermissionFlag.DMPF_NOACCESS, added to the collection, and returned as a DMPermission object.

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

Syntax
public DMPermission GetPermission(
	int PermissionTypeID
)

Parameters

PermissionTypeID
Type: SystemInt32
The ID of the DMPermission object being sought.

Return Value

Type: DMPermission
A DMPermission object.
See Also