internal SPPermission(SPSecurable securable, RoleAssignment ass) { if (!ass.IsPropertyReady(a => a.Member.Title)) { CTX.Lae(ass, true, a => a.Member.Title, a => a.Member.PrincipalType, a => a.Member.LoginName, a => a.Member.Id, a => a.RoleDefinitionBindings); } _memTit = ass.Member.Title; _memLog = ass.Member.Id; _perms = ParseBindings(ass.RoleDefinitionBindings); _prinType = ass.Member.PrincipalType; this.LoginName = ass.Member.LoginName; this.ObjectId = securable.Id; this.ObjectName = securable.Name; _roleAss = ass; }