Namespace: OpenEdge.DataAdmin
Type: Interface IGrantedRoleSet
Parent Classes:
Inherits: OpenEdge.DataAdmin.IDataAdminCollection


Purpose:A set of granted security roles



Method Summary
  Options Name Purpose
  LOGICAL Add (IGrantedRole) /* Add a role to the collection @param IGrantedRole The grant to add @return logical TRUE if the role was added from the set */
  LOGICAL CanFind (character) /* Return true if a Role with the specified id is in the collection @param character The id of the grant @return logical TRUE if a role with the given name exists in the collection */
  LOGICAL Contains (IGrantedRole) /* Return true if the grant is in the collection @param IGrantedRole The name of the role @return logical TRUE if a role with the given name exists in the collection */
  OpenEdge.DataAdmin.IGrantedRole Find (character) /** Return the grant with the specified id in the collection. Returns unknown if not found. */
  LOGICAL Remove (IGrantedRole) /* Remove a role from the collection @param IGrantedRole The grant to remove @return logical TRUE if the role was removed from the set */

Method Detail
Top

LOGICAL Add (IGrantedRole)

/* Add a role to the collection
Parameters:
poRole OpenEdge.DataAdmin.IGrantedRole
 
Returns LOGICAL
  logical TRUE if the role was added from the set
Top

LOGICAL CanFind (character)

/* Return true if a Role with the specified id is in the collection
Parameters:
pcId CHARACTER
 
Returns LOGICAL
  logical TRUE if a role with the given name exists in the collection
Top

LOGICAL Contains (IGrantedRole)

/* Return true if the grant is in the collection
Parameters:
poRole OpenEdge.DataAdmin.IGrantedRole
 
Returns LOGICAL
  logical TRUE if a role with the given name exists in the collection
Top

OpenEdge.DataAdmin.IGrantedRole Find (character)

Purpose: Return the grant with the specified id in the collection.
Returns unknown if not found.
Parameters:
pcId CHARACTER
 
Returns OpenEdge.DataAdmin.IGrantedRole
 
Top

LOGICAL Remove (IGrantedRole)

/* Remove a role from the collection
Parameters:
poRole OpenEdge.DataAdmin.IGrantedRole
 
Returns LOGICAL
  logical TRUE if the role was removed from the set