BuildPermission

Description

Builds and returns a Permission object.

Syntax

VBScript


session.BuildPermission 

Perl


$session->BuildPermission(); 
Identifier
Description
session
The Session object that represents the current database-access session.
Return value
Returns a new Permission object.

Examples

VBScript

set sessionObj = GetSession 

' Create a new Permission object 
set permissionObj = sessionObj.BuildPermission 

' Set permission kinds and groups...

Perl

$sessionobj = $entity->GetSession();

# Create a new Permission object 
$permissionObj = $sessionobj->BuildPermission(); 

# Set permission kinds and groups...