DOFPermissioncreate Method (Byte)OpenDOF Object Access Library
Creates and returns a Permission object of the correct type from a byte array of data.

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

C#
public static DOFPermission create(
	byte[] data
)

Parameters

data
Type: SystemByte
A byte array holding a serialized Permission.

Return Value

Type: DOFPermission
A deserialized Permission object.
Exceptions

ExceptionCondition
DOFSecurityExceptionIf the permission could not be deserialized.
DOFSecurityException
Remarks

Creates and returns a Permission object of the correct type from a byte array of data.
See Also

Reference