*** This interface provides Binary Compatibility only, not Source Compatibility ***
Interface IdentityGroupInterface
- All Superinterfaces:
IdentityInterface,MetadataInterface,PublicObjectInterface,Remote
- All Known Subinterfaces:
RoleInterface
@SASScope("ALL")
@BinaryCompatibilityOnly
public interface IdentityGroupInterface
extends IdentityInterface
- Since:
- 1.1 An interface to represent a group of Identity objects.
-
Field Summary
Fields inherited from interface com.sas.services.information.metadata.MetadataInterface
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIdentity(IdentityInterface identity) Add a member identity to this group.Get the group home folder, if it exists.ListGet a List of the IdentityInterface objects that are members of this group.ListgetUsers()Returns a list of user names associated with this Role.booleanDetermines whether or not a user is in this role.booleanisMember(String name) Determines whether or not a user is in this role.voidremoveIdentity(IdentityInterface identity) Remove a member identity from this group.voidsetMembers(List members) Set the member list for this group.Methods inherited from interface com.sas.services.information.metadata.IdentityInterface
addExternalIdentity, addLogin, getDisplayName, getEffectiveDispayName, getEffectiveDisplayName, getExternalIdentities, getIdentityGroups, getIdentityMembershipLevels, getIdentityType, getLogins, getUserIds, removeExternalIdentity, removeLogin, setDisplayNameMethods inherited from interface com.sas.services.information.metadata.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addDocument, addExtension, addGroup, addImplementor, addKeyword, addNoteTextStore, addNoteTextStore, addObjectProperty, addObjectProperty, addPermissions, addPrompt, addPropertySet, addRemark, addResponsibleParty, addTransactionListener, addUsedByPrototype, checkin, checkout, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, destroy, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getCreateDate, getCreatedBy, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGroups, getGUID, getIdentities, getImplementors, getKeywords, getLockedBy, getModifiedBy, getModifyDate, getNoteTextStore, getNoteTextStores, getNoteTextStoresByRole, getObjectProperties, getParent, getParentPath, getParents, getPath, getPaths, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getPrimaryPropertyGroup, getPrompt, getPrompts, getPropertyBag, getPropertySets, getRemarksList, getReposId, getRepository, getRepositoryEntity, getRepositoryName, getReposKey, getResponsibleParties, getState, getTrackingId, getType, getUsageVersion, getUsedByPrototypes, getUsingPrototype, getVersion, isAuthorized, isCompatible, isDeleted, isDestroyed, isObjectAlive, isReadCompatible, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeDocument, removeExtension, removeGroup, removeImplementor, removeKeyword, removeNoteTextStore, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeResponsiblePartyByIdentity, removeUsedByPrototype, rollback, setAttribute, setAttributes, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setName, setNoteTextStores, setObjectProperties, setPermission, setPrimaryPropertyGroup, setPrompt, setPrompts, setRemarksList, setRepository, setUsingPrototype, startTransaction, toByteArray, transactionEvent, uncheckout, update, updateFromBag, versionMethods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor
-
Method Details
-
getMembers
Get a List of the IdentityInterface objects that are members of this group.- Returns:
- A List of IdentityInterface objects.
- Throws:
ServiceException- if a repository error occurs.RemoteException- in the event of remote object failure.
-
addIdentity
Add a member identity to this group.- Parameters:
identity- The new identity to add to this group.- Throws:
ServiceException- if a repository error occurs.RemoteException- in the event of remote object failure.
-
removeIdentity
Remove a member identity from this group.- Parameters:
identity- The identity to remove from the group.- Throws:
ServiceException- if a repository error occurs.RemoteException- in the event of remote object failure.
-
setMembers
Set the member list for this group. Any existing members will be removed.- Parameters:
members- A List of IdentityInterface objects to add to this group.- Throws:
ServiceException- if a repository error occurs.RemoteException- in the event of remote object failure.
-
isMember
Determines whether or not a user is in this role.- Parameters:
uc- The UserContextInterface that you are checking.- Returns:
- True if the user is in this role and false if they are not. (boolean)
- Throws:
RemoteException- in the event of remote object failure.ServiceException- if a repository error occurs.
-
isMember
Determines whether or not a user is in this role.- Parameters:
name- A String that identifies the name of the person that you are checking.- Returns:
- True if the user is in this role and false if they are not. (boolean)
- Throws:
RemoteException- in the event of remote object failure.ServiceException- if a repository error occurs.
-
getUsers
Returns a list of user names associated with this Role.- Returns:
- list of user names associated with this Role. (List)
- Throws:
ServiceException- if a repository error occurs.RemoteException- in the event of remote object failure.
-
getHomeFolder
Get the group home folder, if it exists. Group home folders are areas that members of a group can use to share data. They are not automatically created, as user home folders are, and their access controls are not set by the server. The group home folders should be created via the SASMC by the group owner/administrator. For individuals' home folders, use theServerInterface.getHomeFolder(String, com.sas.services.information.UserFolderType, com.sas.services.information.Filter)method.- Returns:
- The group home folder. If none has been created, null is returned.
- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-