DOFPermissionFactorycreate Method OpenDOF Object Access Library
Creates and returns a Permission object of the correct type from a byte array.

Namespace: org.opendof.core.oal.security
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
DOFPermission create(
	byte[] data
)

Parameters

data
Type: SystemByte
A byte array of data containing the permission in serialized form.

Return Value

Type: DOFPermission
A deserialized Permission object.
Exceptions

ExceptionCondition
DOFExceptionIf the permission could not be deserialized.
Remarks

Creates and returns a Permission object of the correct type from a byte array. Any types that isSupportedType(short) returns true for must be supported.
See Also

Reference