Inheritance: SPDGPrincipal
Exemplo n.º 1
0
        public override void AddSiteGroup(string name, SPDGUser owner, SPDGUser defaultUser, string description)
        {
            if (_site.RootWeb.ID != this.ID)
            {
                _site.RootWeb.AddSiteGroup(name, owner, defaultUser, description);
            }
            invalidateSiteGroups();
            GroupCreationInformation groupCreateInformation=new GroupCreationInformation();
            groupCreateInformation.Title = name;
            groupCreateInformation.Description = description;

            var group= _web.SiteGroups.Add(groupCreateInformation);
            group.Owner = ((SPDGClientUser) owner).User;
            group.Update();
            _context.ExecuteQuery();
        }
Exemplo n.º 2
0
 public abstract void AddSiteGroup(string name, SPDGUser owner, SPDGUser defaultUser, string description);
Exemplo n.º 3
0
 public abstract void AddSiteGroup(string name, SPDGUser owner, SPDGUser defaultUser, string description);
Exemplo n.º 4
0
        public override void AddSiteGroup(string name, SPDGUser owner, SPDGUser defaultUser, string description)
        {
            var spOwner =((SPDGServerUser)owner).SPUser;
            var spDefaultUser = ((SPDGServerUser)defaultUser).SPUser;

            _spWeb.SiteGroups.Add(name, spOwner, spDefaultUser, description);
        }