![]() | SUMMARY | DETAIL |
Macros to manipulate and create user groups, their availability in contexts, and their membership lists.
Macro Summary | |
external | %lsaf_addgroupmember(lsaf_path=, lsaf_group=, lsaf_type=USER, lsaf_member=, lsaf_group_context=);
Adds a user or group as a member of a group in the specified context.
|
external | %lsaf_creategroup(lsaf_path=, lsaf_group=, lsaf_description=);
Creates a group in the specified context.
|
external | %lsaf_deletegroup(lsaf_path=, lsaf_group=);
Deletes a group from the specified organization, project, or analysis.
|
external | %lsaf_getgroupmembers(lsaf_path=, lsaf_group=, sas_dsname=work.lsafGetGroupMembers);
Gets the metadata for all of the members that are assigned to a group within the specified ...
|
external | %lsaf_getgroups(lsaf_path=, sas_dsname=work.lsafGetGroups);
Gets the metadata for all of the groups that are defined within the specified context. The ...
|
external | %lsaf_getusergroups(lsaf_userid=, sas_dsname=work.lsafGetUserGroups);
Gets the metadata for each of the groups in which the specified user is a member. The ...
|
external | %lsaf_groupexists(lsaf_path=, lsaf_group=);
Indicates whether a group is defined for the specified context.
|
external | %lsaf_isgroupmember(lsaf_path=, lsaf_group=, lsaf_member=, lsaf_type=USER, lsaf_group_context=, lsaf_includeImplicit=0);
Indicates whether a user or group is a member of the group in the specified context. A flag can be ...
|
external | %lsaf_removegroupmember(lsaf_path=, lsaf_group=, lsaf_member=, lsaf_type=USER, lsaf_group_context=);
Removes a user or a group as a member of a group in the specified context.
|
Macro Detail |
%lsaf_addgroupmember(lsaf_path=, lsaf_group=, lsaf_type=USER, lsaf_member=, lsaf_group_context=);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code.lsaf_path
-
- Required - The path of the context.lsaf_group
-
- Required - The name of the group in which to add the member.lsaf_type
-
- conditional - the type of member being added.lsaf_member
-
- Required - The user ID of the user or the name of the group to add.lsaf_group_context
-
- Conditional - The context in which the group is defined, specified
%lsaf_creategroup(lsaf_path=, lsaf_group=, lsaf_description=);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code.lsaf_path
-
- Required - The path of the context.lsaf_group
-
- Required - The name of the group.lsaf_description
-
- Optional- The description for the group.
%lsaf_deletegroup(lsaf_path=, lsaf_group=);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code.lsaf_path
-
- Required - The path of the context in which the group is defined.lsaf_group
-
- Required - The name of the group.
%lsaf_getgroupmembers(lsaf_path=, lsaf_group=, sas_dsname=work.lsafGetGroupMembers);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code.lsaf_path
-
- Required - The path of the context in which the group is defined.lsaf_group
-
- Required - The name of the group.sas_dsname
-
- Optional - The name of the output SAS data set that contains the metadata
%lsaf_getgroups(lsaf_path=, sas_dsname=work.lsafGetGroups);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code.lsaf_path
-
- Required - The path of the context in which the groups are defined.sas_dsname
-
- Optional - The name of the output SAS data set that contains the metadata
%lsaf_getusergroups(lsaf_userid=, sas_dsname=work.lsafGetUserGroups);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code.lsaf_userid
-
- Required - The user ID of the user for whom to retreive the groups.sas_dsname
-
- Optional - The name of the output SAS data set to contain the metadata
%lsaf_groupexists(lsaf_path=, lsaf_group=);
[ Exposure:
external
]
_lsafGroupExists_
-
Indicates whether the group exists in the context._lsafMsg_
-
The return message._lsafRC_
-
The return code.lsaf_path
-
- Required - The path of the context object.lsaf_group
-
- Required - The name of the group.
%lsaf_isgroupmember(lsaf_path=, lsaf_group=, lsaf_member=, lsaf_type=USER, lsaf_group_context=, lsaf_includeImplicit=0);
[ Exposure:
external
]
_lsafIsGroupMember_
-
Indicates whether the user or group is a member of the specified group._lsafMsg_
-
The return message._lsafRC_
-
The return code.lsaf_path
-
- Required - The path of the context in which the group is assigned.lsaf_group
-
- Required - The name of the group.lsaf_member
-
- Required - The user ID or group name of the member.lsaf_type
-
- Optional - The type of member. Valid values (case-insensitive):lsaf_group_context
-
- Conditional - The context in which the member group is defined,lsaf_includeImplicit
-
- Optional - Indicates whether to include the implied members, such as
%lsaf_removegroupmember(lsaf_path=, lsaf_group=, lsaf_member=, lsaf_type=USER, lsaf_group_context=);
[ Exposure:
external
]
_lsafMsg_
-
The return message._lsafRC_
-
The return code.lsaf_path
-
- Required - The path of the context in which the group is defined.lsaf_group
-
- Required - The name of the group from which to remove the member.lsaf_member
-
- Required - The ID of the user or the name of the group to remove.lsaf_type
-
- Conditional - The type of the member. Valid values (case-insensitive):lsaf_group_context
-
- Conditional - The context in which the group to remove is defined,