public void WhenTheExternalGroupNameOfTheGroupIsCleared(string groupName) { Guid groupId = nameIdentifierPairs[groupName]; IGroup group = IdentityManagementService.GetGroup(groupId); Try(() => IdentityManagementService.UpdateGroup(groupId, groupName, group.Description, group.IsDisabled, null)); }
public void WhenTheExternalGroupNameOfTheGroupIsChangedTo(string groupName, string externalGroup) { Guid groupId = MockDatabase.GetGroup(groupName).Id; IGroup group = IdentityManagementService.GetGroup(groupId); Try(() => IdentityManagementService.UpdateGroup(groupId, groupName, group.Description, group.IsDisabled, externalGroup)); }
public void WhenTheGroupIsDisabled(string group) { Guid groupId = nameIdentifierPairs[group]; Try(() => IdentityManagementService.UpdateGroup(groupId, group, string.Empty, true, string.Empty)); }
public void WhenTheNameOfTheGroupIsCleared(string group) { Guid groupId = nameIdentifierPairs[group]; Try(() => IdentityManagementService.UpdateGroup(groupId, string.Empty, string.Empty, false, string.Empty)); }