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


Copyright (c) 2016 by Progress Software Corporation. All rights reserved.
Purpose:A set of security roles
Author(s):pjudge
Created:2016-04-26



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

Method Detail
Top

LOGICAL Add (IRole)

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

LOGICAL CanFind (character)

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

LOGICAL Contains (IRole)

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

OpenEdge.DataAdmin.IRole Find (character)

Purpose: Return the Role with the specified Name from the collection.
Returns unknown if not found.
Parameters:
pcName CHARACTER
 
Returns OpenEdge.DataAdmin.IRole
 
Top

LOGICAL Remove (IRole)

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