Beispiel #1
0
        public void WhenTheExternalGroupNameOfTheGroupIsCleared(string groupName)
        {
            Guid   groupId = nameIdentifierPairs[groupName];
            IGroup group   = IdentityManagementService.GetGroup(groupId);

            Try(() => IdentityManagementService.UpdateGroup(groupId, groupName, group.Description, group.IsDisabled, null));
        }
Beispiel #2
0
        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));
        }
Beispiel #3
0
        public void WhenTheGroupIsDisabled(string group)
        {
            Guid groupId = nameIdentifierPairs[group];

            Try(() => IdentityManagementService.UpdateGroup(groupId, group, string.Empty, true, string.Empty));
        }
Beispiel #4
0
        public void WhenTheNameOfTheGroupIsCleared(string group)
        {
            Guid groupId = nameIdentifierPairs[group];

            Try(() => IdentityManagementService.UpdateGroup(groupId, string.Empty, string.Empty, false, string.Empty));
        }