public class GrouperAzureApiCommands extends Object
| Constructor and Description |
|---|
GrouperAzureApiCommands() |
| Modifier and Type | Method and Description |
|---|---|
static GrouperAzureGroup |
createAzureGroup(String configId,
GrouperAzureGroup grouperAzureGroup,
Set<String> fieldsToUpdate)
create a group
|
static void |
createAzureMembership(String configId,
String groupId,
String userId)
create a membership
|
static void |
createAzureMemberships(String configId,
String groupId,
Collection<String> userIds)
create a membership
|
static GrouperAzureUser |
createAzureUser(String configId,
GrouperAzureUser grouperAzureUser,
Set<String> fieldsToCreate)
create a user
|
static void |
deleteAzureGroup(String configId,
String groupId) |
static void |
deleteAzureMembership(String configId,
String groupId,
String userId)
delete membership
|
static void |
main(String[] args) |
static GrouperAzureGroup |
retrieveAzureGroup(String configId,
String fieldName,
String fieldValue) |
static Set<String> |
retrieveAzureGroupMembers(String configId,
String groupId)
return user ids in the group
|
static List<GrouperAzureGroup> |
retrieveAzureGroups(String configId) |
static GrouperAzureUser |
retrieveAzureUser(String configId,
String fieldName,
String fieldValue) |
static Set<String> |
retrieveAzureUserGroups(String configId,
String userId)
return user ids in the group
|
static List<GrouperAzureUser> |
retrieveAzureUsers(String configId) |
static GrouperAzureGroup |
updateAzureGroup(String configId,
GrouperAzureGroup grouperAzureGroup,
Set<String> fieldsToUpdate)
update a group
|
static GrouperAzureUser |
updateAzureUser(String configId,
GrouperAzureUser grouperAzureUser,
Set<String> fieldsToUpdate)
update a user
|
public static void main(String[] args)
public static GrouperAzureGroup createAzureGroup(String configId, GrouperAzureGroup grouperAzureGroup, Set<String> fieldsToUpdate)
grouperAzureGroup - public static GrouperAzureUser createAzureUser(String configId, GrouperAzureUser grouperAzureUser, Set<String> fieldsToCreate)
configId - grouperAzureUser - public static void createAzureMembership(String configId, String groupId, String userId)
grouperAzureGroup - public static void createAzureMemberships(String configId, String groupId, Collection<String> userIds)
grouperAzureGroup - public static GrouperAzureGroup updateAzureGroup(String configId, GrouperAzureGroup grouperAzureGroup, Set<String> fieldsToUpdate)
grouperAzureGroup - public static GrouperAzureUser updateAzureUser(String configId, GrouperAzureUser grouperAzureUser, Set<String> fieldsToUpdate)
grouperAzureUser - public static List<GrouperAzureGroup> retrieveAzureGroups(String configId)
public static List<GrouperAzureUser> retrieveAzureUsers(String configId)
public static GrouperAzureUser retrieveAzureUser(String configId, String fieldName, String fieldValue)
configId - fieldName - id or userPrincipalNamefieldValue - is value of id or userPrincipalNamepublic static Set<String> retrieveAzureUserGroups(String configId, String userId)
configId - userId - public static Set<String> retrieveAzureGroupMembers(String configId, String groupId)
configId - groupId - public static GrouperAzureGroup retrieveAzureGroup(String configId, String fieldName, String fieldValue)
configId - fieldName - is id or displayNamefieldValue - is value of id or displayNameCopyright © 2016 Internet2. All rights reserved.