Dynamicweb 8 Documentation
GetPermissionByID Method

The user ID.
The fodler name.
Retrieves a permission by user ID and a folder name.
Syntax
'Declaration
 
Public Shared Function GetPermissionByID( _ 
   ByVal userID As String, _ 
   ByVal folderName As String _ 
) As Permission
public static Permission GetPermissionByID( 
   string userID,
   string folderName 
)

Parameters

userID
The user ID.
folderName
The fodler name.

Return Value

Retrieved permission or Nothing if permission can not be retrieved.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Permission Class
Permission Members

Send Feedback